Skip to content

chore: migrate from npm to pnpm#469

Merged
EugeniyKiyashko merged 5 commits into
masterfrom
migrate-to-pnpm
Apr 17, 2026
Merged

chore: migrate from npm to pnpm#469
EugeniyKiyashko merged 5 commits into
masterfrom
migrate-to-pnpm

Conversation

@EugeniyKiyashko

Copy link
Copy Markdown
Contributor

Migrate package manager from npm to pnpm.

Changes

  • Add packageManager: pnpm@9.15.9 to root package.json
  • Replace package-lock.json with pnpm-lock.yaml
  • Add pnpm-workspace.yaml for monorepo workspace configuration
  • Remove workspaces field from root package.json (pnpm uses pnpm-workspace.yaml)
  • Move overrides to pnpm.overrides format
  • Remove .npmrc (legacy-peer-deps is npm-specific; pnpm ≥8 has auto-install-peers=true by default)
  • Update all npm run references to pnpm run in scripts
  • Replace npm-run-all usage with sequential pnpm run calls
  • Replace cd packages/x && npm run with pnpm --filter in root scripts
  • Replace npm run build --workspaces --if-present with pnpm -r run build
  • Use workspace:* protocol for local package references (dx-template-gallery-data)
  • Use node ./script.js instead of pnpm run for scripts with args in CI (testcafe runner, start-apps) to avoid pnpm's -- injection breaking arg parsing
  • Update all 4 CI workflows (lint, test, deploy, test-dev-with-latest-dx)
  • Update README.md and packages/vue/README.md
  • Update .gitignore with pnpm-debug.log*

Phantom dependencies resolved

  • devexpress-gantt — added to packages/angular and packages/react (was transitively available via devextreme in npm's flat layout)
  • react-router — added to packages/react (was transitively available via react-router-dom)

@EugeniyKiyashko EugeniyKiyashko force-pushed the migrate-to-pnpm branch 5 times, most recently from c5e7686 to 67c60c1 Compare April 17, 2026 12:01
GoodDayForSurf
GoodDayForSurf previously approved these changes Apr 17, 2026
ajivanyandev
ajivanyandev previously approved these changes Apr 17, 2026
@EugeniyKiyashko EugeniyKiyashko merged commit b460675 into master Apr 17, 2026
68 checks passed
@EugeniyKiyashko EugeniyKiyashko deleted the migrate-to-pnpm branch April 17, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants